package com.css.fxfzxczh.modules.synthesizeInfoManage.earEveManage.repository;

import com.css.fxfzxczh.modules.synthesizeInfoManage.earEveManage.entity.EarEveManage;
import com.css.fxfzxczh.modules.synthesizeInfoManage.earEveManage.entity.SimEarthquake;
import com.css.fxfzxczh.modules.synthesizeInfoManage.earEveManage.queryParams.EarEveManageQuaParams;
import com.css.fxfzxczh.modules.synthesizeInfoManage.earEveManage.vo.EarEveManageVo;
import com.css.fxfzxczh.modules.synthesizeInfoManage.heaManage.entity.HeaManage;

import java.util.Date;
import java.util.List;
import java.util.Map;

public interface EarEveManageRepository {
    Map<String, Object> getPage(EarEveManageQuaParams queParams, int curPage, int pageSize);

    EarEveManage findById(String id);

    void delete(String id);

    void completion(String id);

    void update(EarEveManage earEveManage);

    void save(EarEveManage earEveManage);

    void updateRelationStatus(String xsemId);

    EarEveManage selWheHavCurEvent(String id,String userId);

    void updateCurEvent(String id);

    void setCurEvent(String id);

    EarEveManage findBySeismicCode(String seismicCode);

    EarEveManage findByJscId(String jscId);

    EarEveManage getCurrentEvent(String userId);

    List<EarEveManage> getList();

    List<EarEveManage> getAllEarEveManage();

    void updateEventStatus(String convertedXsemId, String s);

    List<EarEveManageVo> getAppPage();


    void endSeismicEvent(String id, String eventStatus, Date endTime);

    EarEveManage getByCondition(String longitude, String latitude, String magnitude,String eventTime);

    void updateFileIdById(String xsemId, String attachId);
}
